started working on the union find data structure
added the union-find data structure and tests.
implement kruskel using union-find
fix test and implementation for naive kruskel