Finish chapter 6 code.
Add readme.