Modified PriorityQueue.h .m