Added test_sys_err.C and some fixes in Creating Histogram