assignment 4 p1,2