First draft of minimax. Still needs move simulation and leaf ranking.