Solutions to project Euler's problems