cleaned up negamax a bunch