Trying to implement a simple AI with TicTacToe