Add #44 Ruby solution