added tex and pdf of writeup