Python solutions for Project Euler