a simple substitution cipher thing set normal and set encoded set the two keys respectively. set amount sets the amount of times it should iterate on your text. all iterations are output. clear output simply clears the output list. encode converts any characters in the normal list into the respective character in the encoded list, decode does the opposite.