Python version for Euler problem 10. It's a little slow to get the job done.