MinHeap providing functionality missing in Java's PriorityQueue