chap3, ex3.6, up to Page116. [### Chap3 Finished ###]