Traer de http://en.wikipedia.org/wiki/Minimum_spanning_tree