Playing around with Scala.