Some exercises from Chapter 11 of Python Programming: An Introduction to Computer Science