Project Euler Problems 019, 020, 025 Python