Simple tictactoe implementation