Decoder is corrected, and both MUX ,Decoder, Encoder, Demux with tests added

Decoder was implemented as MUX, Now it is corrected. with tests and README changed.