Added more source code from chap 3 and chap 4.