Reading data and plotting the histogram in plot1.png