Added Scala solution to two bases