Some Project Euler solutions using Scala