Answers to Project Euler puzzles