answer to the questions on project euler