A simple number guessing game in Ruby