Updating ch04 samples
Updating chapter 5 samples
Updating chapter 6 samples
Updating chapter 7 samples