TicTacToe Implementation on iOS