Priority Queue With Min Pair Heap Algorithm