Added alstamber's ruby solutions.