Project Euler Problems in Scala