Implemented bitwise operations