Project Euler solution in python