renamed maxheap.c to heap.c