Create compare_histo.py

Contains the actual analysis functionality for the histogram analysis module.