My solution to the Kata 19 using only functional programming in Scala.