Altered the operator<< to print histogram as gnuplot histogram errorbars