tic-tac-toe in the console