Add solutions for chapter 5.