update chapter 3

update end of chapter3