Renumbered Ruby solutions.