Changed test condition to use internal method instead
Added PriorityQueue class
Trying to correct priority queue class
Corrected priority queue