Added Boolean Function

Added Boolean Function