fixed heap

Cleaned up the code and made it look more pythonic. Fixed the error that arises when we push pop push then pop again by popping the heap_list. Thanks Mark!