Additon Priority Queue As an edge