Update heap.c

Included a destructor to free binary heaps created with struct Heap* genHeap(void)