Added notes from slides for chapter 1 to 4.