heapify and buildheap
makefile for heapsort