private static void combine(int i, int j) {
		// TODO Auto-generated method stub
		i--;
		j--;
		java.util.ArrayList<Integer> temp = new ArrayList<Integer>();
		GraphList.get(i).addAll(GraphList.get(j));
		GraphList.get(j).clear();
		i++;
		j++;
		for (int i2 = 0; i2 < GraphList.size(); i2++) {

			temp = GraphList.get(i2);
			for (int j2 = 0; j2 < temp.size(); j2++) {
				if (GraphList.get(i2).get(j2).equals(j)) {
					// System.out.print("Loop Entered");
					GraphList.get(i2).set(j2, i);
				}
			}

		}
		int value = i;
		i--;
		j--;
		for (int j3 = 0; j3 < GraphList.get(i).size(); j3++) {
			if (GraphList.get(i).get(j3).equals(value)) {
				// System.out.print("Entered 2nd loop");
				int index = GraphList.get(i).indexOf(value);
				GraphList.get(i).set(index, 0);
			}
		}

	}