Code Kata for Scala