Implementation of efficient minimum spanning tree algorithms