EXERCISE SET 5 =============== Exercises 3.3.1-3.3.4 from the lecture notes, pp. 87-89.