edited output message of encoder and decoder. project finished for now