implemented Mux8Way16 gate