Addition of plot4 code and graph

Added plot 4 code and graph