Corrected LEFT and RIGHT

finally got the logic for left and right eat to work. For some reason I had to clear all other bits and &0xFF the cNext variable. It is most likly because left and right shifting cause some trouble with the overflow bits? -still in questioning.