Adding Scala solution to Problem 1