added decoder with input on 2 bits and output on 4