a console tic-tac-toe game in ruby