R code and plot png files for the assignments

These are r code and plot png files as per assignment requirements.