Tic tac toe game coded in Ruby