console-based tic-tac-toe game