Adds changes to PriorityQueue.cs