Added alstamber's Ruby solutions.