Small changes to main.coffee

Added a data struct that holds time differences or the information
required to construct a hist. I'm not sure how to display these hist.