The main function to transform a String . This function mainly uses cycleLeader ( ) to transform
function moveNumberToSecondHalf ( ) { let k , lenFirst ; let lenRemaining = str . length ; let shift = 0 ; while ( lenRemaining > 0 ) { k = 0 ;