Added general Heap file with function to send heaps to dot