Problems from Project Euler solved in Python