Algorithm of Prim's and Kruskal's with python generator graphs.
The Algorithms are of Geeks for Geeks
Prim's algorithms: https://www.geeksforgeeks.org/prims-minimum-spanning-tree-mst-greedy-algo-5/ Kruskal's algorithms: https://www.geeksforgeeks.org/kruskals-minimum-spanning-tree-algorithm-greedy-algo-2/