Adding chapter 2

changes in all files for chapter 2