Project Euler problems solved in Scala