Added make_lightcurve function to tools, which takes a list of events and makes a histogram of them, i.e. a lightcurve.