Change insertNode method in HeapNode classes to the more generic 'add'.