Added code to produce 4 graphics (png) files as well as the png's themselves.