Fixing MyPriorityQueue