Creation of histogram added to create plot1