public String process(List<String> line, int L, int lineCount){
		int diff= L-lineCount;
		String result = "";
		
		if(line.size() == 1){
			result = line.get(0);
			result = addSpace(result, diff);
		}else{
			List<String> spaces = new ArrayList<String>();
			for(int i=0; i<line.size()-1; i++){
				spaces.add(" ");
			}
			int i=0;
			for(;diff>0; diff--){
				spaces.set(i, spaces.get(i) + " ");
				if( ++i >= spaces.size()) i=0;
			}
			for(int tmp=0; tmp<line.size(); tmp++){
				result += line.get(tmp);
				if(tmp < spaces.size()) result += spaces.get(tmp);
			}
		}
		return result;
	}