added lab4 writeup