Sample Programming Assignment
Chapter 7
Priority Queue


Start by writing a new node class called PQNode, which is based on the Node class, but where each node has an additional integer instance variable called priority.

Use your PQNode to implement a priority queue with at least the three operations of Figure 7.12.