Solve problem 4 ruby 1st crack