Added solution for week 3 Assignment for Scala course