public ArrayList<Edge> KruskalA(int n) {
		IUnionFind uf = new QuickUnion(n);
		while (!this.getEdges().isEmpty()) {
			Edge e = this.getEdges().poll();
			if (uf.connected(e.getV(), e.getW()));
			else {
				uf.union(e.getV(), e.getW());
				System.out.println("Adding: " + e);
				path.add(e);
			}
		}
		return path;
	}