Use  instead of  and  to avoid undefined behaviour
Merge pull request #80 from DaveCTurner/undefined-behaviour

Behaviour of shiftL/shiftR undefined with negative shifts