add heap.c and heap.h