command line tic-tac-toe