supported logical bitwise operators
wrote sample code.