int setChar(char[] array,char last, int index, int count) {
		array[index] = last;
		index++;
		char[] cnt = String.valueOf(count).toCharArray();
		for(char c:cnt) {
			array[index] = c;
			index++;
		}
		return index;
	}