Create HeapFunctions

HeapFunctions