Chapter 2 exercises
Merge pull request #3 from txr12/rmnchp2

Chapter 2 exercises