Bug Fix

fixed a bug with down and right shifts, where numbers were combined as if it were a up or left shift, respectively.