Moved solutions to Ruby so I can add future solutions in other languages.