[EECS 345]: Added Chapter 5

Fixed up the doc and added chapter 5 notes and code