First solution Ruby-0 challenge 5