Python: Somewhat Challenging Problems