some of my Project Euler solution code