lecture 3 assignment 1