Binary inversion, Boolean not.
-Implemented the bit-flip operator (~)
-Implemented the boolean not operator (Python: not, C++: !)
-Added type checking to prevent operator-operand type mismatch