Undirected-Graph Building a PriorityQueue, Graph and applying the shortest Distance Algorithm (Dijkstra's Algorithm ) Cycle Detection, Minimum Spanning Tree