Implement Mux4Way16 gate.