Scala project lab 1