Added comments. Added heapToDot.