Started minimum spanning tree implementation.
Wrote a naive disjoint set.