Solving ProjectEuler.net problems using Scala.