Added code to generate all 4 graphs.
The png files are also added to figure directory.