Solved chapter 11 exercises