Added 'Z' condition to the multiplexer. Sets output ('y') to 'Z' is 'gn' is '1'.