Implements guess_the_number.rb for (0..10)