contains all the R codes I have written