Encoder and Demultiplexer class code

Implemented Encoder and Demultiplexer class in combinational for review