Did some more work on the Project Euler solution