Add homework 4 writeup