Added Scala solution for Problem #54.