added assignment b to chapter 8