lecture 2 notes & homework