My Project Euler code