Ruby solution problem 1