Add an exercise in Scala.