private int[][] StringsToCycleDecomp(String[] input){
		
		int[][] CycleDecomp = new int[input.length][n];//sets up cycle decomp array
		for(int i = 0; i < input.length; i++){//makes sure each entry is zero
			for(int j = 0; j < n; j++){
				CycleDecomp[i][j] = 0;
			}
		}
		
		int CycleNumber = -1;//used to keep track of cycle number. 
		for(int i = 0; i < input.length; i++){
			StringTokenizer CurrentCycle = new StringTokenizer(input[i]," ,");
			if(CurrentCycle.hasMoreTokens()){//makes sure it's non-empty
				CycleNumber++;
			}
			int CycleIndex = 0;
			while(CurrentCycle.hasMoreTokens()){
				CycleDecomp[CycleNumber][CycleIndex] = Integer.parseInt(CurrentCycle.nextToken());
				CycleIndex++;
			}
		}
		return CycleDecomp;
	}