Add #32 Ruby solution