Solved Chapter 23 exercises