Add Ruby solution to problem 4.