added NOT-encoding

extended the encoder/decoder with a NOT link