Various Project Euler programs tackled in Python