Added removeElem, getAddrOf, and heapifyFromHead