Scala course work