Exercises from Ch. 3.
Exercise 3.2
Exercise 3.4