fixed TicTacToeAI.nextMove bug