How pet custody can be solved in light of a divorce