Simplify Project Euler