Basic Scala practice.