Exercises in chapter7