title: Matching two strings together with Substituted Characters
body: <p>Imagine a gamble game where you have to match all three words to get a reward.</p>
  
  <p>So if you get <code>HHH</code> you get an award.</p>
  
  <p>I want to be able to subsitute <code>W</code> to mimick any letter.</p>
  
  <p>For example: </p>
  
  <pre><code>HWW = HHH  
  </code></pre>
  
  <p>and </p>
  
  <pre><code>HHW = HHH
  </code></pre>
  
  <p>but </p>
  
  <pre><code>WWW = WWW
  </code></pre>
  
  <p>How do i go about doing this?</p>