code to resolve problems ofr project euler