completed chapter 3 + additional exercises