Minimum Spanning Tree using Kruskal's algorithm (www.infoarena.ro)