Minimax implementation of choose_move method currently working.