title: Replace specific letters in a list with other letters
body: <p>I have a  list that looks like this:</p>
  
  <pre><code>foo = ["z", "q", "t", "a", "p", "m", "n", "b", "c", "w", "l", "d", "f", "h",
         "y", "e", "j", "k", "g", "i", "o", "r", "u", "s", "v", "x"]
  </code></pre>
  
  <p>and i have another list that looks like this:</p>
  
  <pre><code>bar = ["h", "e", "l", "l", "o", "m", "y", "n", "a", "m", "e", "i", "s", "r",
         "e", "a", "l", "l", "y", "l", "o", "n", "g", "a", "n", "d"]
  </code></pre>
  
  <p>what i want to do is use the first element of foo, and replace the first element of bar with it, and so that the first element of foo is now always worth <code>"h"</code>, so if <code>"h"</code> ever comes up in bar again, <code>"z"</code> (the first element of foo) is automatically put in. the second element of foo is then subbed in for the second element of bar (unless it's <code>"h"</code>) and then second element then becomes <code>"e"</code>, and so on until the entirety or bar has been encrypted using foo for the letters. and then print the new bar but with the letters changed from the encrypton process.</p>