Minimal spanning tree finding algorithms implemented