Binary Heap Implementation. Very cool how if you just call delMax n times, it sorts array.