Finishing hw3 writeup