private static ArrayList<String> combineAllResults
    (ArrayList<String> pseudographics, ArrayList<Integer> resultByDigits, boolean negativeSign, int divisorHasDigits) {
		int res = resultByDigits.get(0);
		for(int i = 1; i < resultByDigits.size(); i++){
			res = res * 10 + resultByDigits.get(i);
		}
		if(negativeSign){
			res *= -1;
		}
		int count = 0;
		StringBuilder s = new StringBuilder("|");
		if(divisorHasDigits > resultByDigits.size()){
			while(count < divisorHasDigits){
				count++;
				s.append("-");
			}
		} else {
			while(count < resultByDigits.size()){
				count++;
				s.append("-");
			}
		}
		pseudographics.add(1, (pseudographics.get(1)) + s.toString());
		pseudographics.remove(2);
		pseudographics.add(2, (pseudographics.get(2)  + signPerDigits(divisorHasDigits, " ") + "|" + res));
		pseudographics.remove(3);
		return pseudographics;
	}