finished execises for chapter 7