Answers to project euler questions