Solutions for Chapter 8 exercises