Chapter9: fixed bugs
Merge pull request #2 from iissnan/master

Chapter9: fixed bugs