finished lecture 3 notes.