Concise implementation of Problem 13 in Python

Withouth using the built-in arbitrary precision arithmetic