Answers to project Euler problems