Changed: Euler 2 - Scala