This may be helpful if you wish to build a water-driven computer. AND OR NAND NOT XOR using quadruple NAND (the most elegant of all XOR implementations)