Implement Or8Way gate.