Submission for assignment 1

R code and plot images for 4 cases