Assignments for Scala Programming class