Exercises Chap5 done