added all R code source files and png figures