Add homework 2 writeup