add code for chapter 8
Merge branch 'master' of github.com:hehahovip/firstpython