My Ruby Koans' solution