Added notes for lecture 8 & 9