Solve problems on Project Euler