added r files and pngs for the plots