Inserting a node (with a specific value) into a heap