Kruskal algorithm, Depth and Bredth first searches