Some small excersizes with the Scala language