Added code for chapters 2, 4, 7 and 9
Merge pull request #1 from nsinenian/master

Added code for chapters 2, 4, 7 and 9