Enter no. of edges :5
For each edge input(Source, Destination, Weight of the edge ) :
0 1 7
0 2 3
1 2 4
1 3 1
2 3 8
Constructed MST :
Vertex A    Vertex B  Weight
    1          3        1
    0          2        3
    1          2        4
>>> 