update chapter3

chapter3 updated