Oh, and the binary logic used in your very first post is incorrect as you don't properly separate the AND and OR blocks from each other. At least the binary logic will not achieve what you try to do.
_________________________
There are two types of vessels, submarines and targets.