added Heap with min and max for hw 19