add a few exercise solutions for chapter 7