added writeup.Rnw