solutions for project euler's problems