Update chapter2.md
Merge pull request #113 from cordoval/patch-2

[doc] fixed some typos