A random number game written in Ruby