Code for printing reuse distance histograms sort of works, refactoring and testing to be done