Python Heap was implemented.