Ruby Secret Number Game, HW 2