Second solution to Ruby-0 challenge 4