add source code
adds chapter 4