R script and PNG plots implemented to solve Assignment 1.