my scala-koans solution