Scala solutions to some of Project Euler's problems