added code to create 1st plot
added code to create 2nd plot
added code to create 3rd plot
refactored plotting code into separate functions
refactored PNG creation into functions
refactored PNG creation into function
Gave plotting functions meaningful names
added code to create 4th plot