doing the project euler exercises