Create bitops.h

basic bitwise operations