A write-up of Chapters 6 and 7 for CSE110, as requested.