lecture 2 homework