add chapter 5 program 6 7