Added Exercises 29,30, and 31