Some Project Euler code