Add first exercises from Chapter 7.
Add remaining exercises from Chapter 7.
Move code related to exercise 8 to the proper place.
Merge branch 'ch07'