An N-Dimensional TicTacToe game with AI