Basic implementation file of PriorityQueue.