Solutions for Project Euler using python