My solution to ruby koans