Add a Scala solution to the Codility Alpha 2010 challenge