Tic Tac Toe simulation