upgraded and cleaned up histogram classes
tests folder with test for histogram