second commit for binheap.c