C++ implementation of the Kruskal's algortihm to solve the minimal spanning tree for a graph.