Implement DMux4Way gate.