Solve problems in ProjectEuler