implement Demultiplexor chip