Add chapter 8 program files

- Finished p1