Programs for simulating madgraph collisions and creating histograms from data