tic-tac-toe command line application