lectures 10/11, assignment 3