lecture 3 assignment 2