update the project/src/maxheap.c