added exercise to chapter 3
added reference to old exercise in chapter 3
moved new exercise to the end
Merge pull request #660 from nicolaikraus/master

added exercise to chapter 3