Parallel implementation of minimum spanning tree algorithm.