Adding chap04.ipynb