implement 4-way Demultiplexor chip