private String BaseAdd(String num1,String num2,int base){
		int carrie = 0;
		char[] first = num1.toCharArray();
		char[] second = num2.toCharArray();
		int min = Math.min(num1.length(),num2.length());
		StringBuffer answer = new StringBuffer();
		
		int index1 = num1.length()-1;
		int index2 = num2.length()-1;
		
		while(index1 >= 0 && index2 >= 0){
			int a = fromCharToNum(first[index1]);
			int b = fromCharToNum(second[index2]);
			int temp = (a+b+carrie)%base;			
			carrie = (a+b+carrie)/base;
			
			answer.append(fromIntToChar(temp));
			index1--;
			index2--;
		}
		while(index1 >= 0){
			int fir = fromCharToNum(first[index1]);
			int a = (fir + carrie)%base;
			answer.append(fromIntToChar(a));
			carrie=(fir + carrie)/base;
			index1--;
		}
		while(index2 >= 0){
			int sec = fromCharToNum(second[index2]);
			int a = (sec + carrie)%base;
			answer.append(fromIntToChar(a));
			carrie=(sec + carrie)/base;
			index2--;
		}
		if(carrie>0)
			answer.append(fromIntToChar(carrie));
		return answer.reverse().toString();
	}