Tic-Tac-Toe in Ruby