Added histogram1D.cpp