My solution for Project Euler questions in Python 3.