public static void shiftSubArray(int[] arr, int from, int to, int offset){
		int iters=0;
		if(from>to){
			iters=((arr.length-from)+to);
		} else {
			iters=(to-from)+1;
		}
		if(offset>0){
			for(int i=0;i<iters;i++){
				arr[Help.mod2(to+offset, arr.length)]=arr[to];
				to = circleDecrement(to, arr.length);
			}
		} else {
			for(int i=0;i<iters;i++){
				arr[Help.mod2(from+offset, arr.length)]=arr[from];
				from = circleIncrement(from, arr.length);
			}
		}
		
	}