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