chap3 finished
chap4 finished
bug fixed
chap5 finished