Chapter 11 finished

Update of all chapter 11 code finished