My go at the Ruby koans