Solutions to https://projecteuler.net/ problems, in Python 3