Fixed the indexing in PriorityQueue to respect my authoritay