Assignment 4 soln.pdf