Priority queue that inherits from a Heap class