Project Euler - Practicing in Scala