public static void printDoubleList(ArrayList<ArrayList<Integer>> list) {
		int n = list.size();
		for(int i = 0;i<n;i++){
			for(int j =0;j<list.get(i).size();j++){
				System.out.print(list.get(i).get(j));
			}
			System.out.print(", ");
		}
	}