add Ruby problem 1 solution