Adding plot 4 code and output