Add solutions for Chapter 4