Added Exercises 3.1 to 3.8.