Replaced size by n in function shiftLeft, shiftRight an rotate. Using n for bits and size for Bytes from now on.