var Mexp=require('./math_function.js'); function inc(arr,val){ for(var i=0;i(newAr.length-2)?newAr.length-1:inpStr.length-i);x>0;x--){ for(y=0;y