CHAPTER 7 & 8 programs and write-ups