add 022 ruby solution