Update histogramViewer.py

Getting started on the GUI. Added a directory selector and refactored the code into a couple methods as opposed to one executable. The changes have been annotated in the code! Python is a pain... for now. Ha