Project Euler Solutions in python