Modified HistogramCreator to give access to data members from
subclasses. Created a threaded version of HistogramCreator. Added
threading code to main method.