The make_change problem in ruby