Remove compiled exe; compile exe into separate bin folder
Properly name histogram; put TH1F* declaration in header file