Min Heap Implementation Python