finished chapter 6 and fixed .gitignore