Playing with the Scala and trying to grok things.