Attempt at learning the Scala Language