HW1 writeup