Create plot3.R

This script creates the output required for task 3 into a file called plot3.PNG.