Beginning of left-shift, and right-shift coding. Basic prinicple in
place. Need to properly apply it to data.