add mst-kruscal algorithm and test