Tic tac toe for two players in Ruby