The important factors a court will consider in determining child custody