implemented Mux4Way16 gate