Answers to Project Euler problems