Finished the chapter 5 lecture