Encode/Decode text with the substitution cipher