Lecture assignment 2