Learn to Program Chapter 13 exercises