chaning into makro based
added internal macros
added min and max heapify
now heap is all macrobased