A Heap Implementation in Python