implemented heap with working max_heapify & build_max_heap