Scala Assignment Week 1