Command-line Tic-Tac-Toe Game in Ruby