Solution for problems in the Euler Project