add ex1-6 from chapter 4
add ex7 from chap 4
add ex8,9 from chp 4