Finished the main part of chapter 6. I still need to do the exercises.