code for first plot
added first plot