Final commit for chapter 5

- do not finish the work in this chapter, this is not well written