Hist are now sorted based on score

Hist graphs are now stored in an array instead of a object. The array
has an order, so the graphs can be displayed in sorted order.

The hist are being scored on the co-occurence score. This afternoon I
will work on the other scoring metrics.