Project Euler problems solved in scala