Implemented and, or and not comparison operators.