Create chapter 4, exercise 4 solution