Chapter 4 - exercises 2, 3, 4, 5