TicTacToe iOS game using Negamax AI