in reply to Re: Boolean algebra
in thread Boolean algebra

Sorry, but your code is not correct (it works for this input but not for generic input).