Implemented the IComparable interface in the heap class in order to prepare it for the binomial tree operations.