Modified CustomPriorityQueue to follow changes made to HadlockOperator for Detour Numbers int[]