Project Euler code and document