Added DSF, edge class, Kruskal and Boruvka~ implementation