title: extracting a message from the grid by finding the co-ordinates using a cipher text
body: <p>I have created a decoder where it can decrypt a cipher message and finds the original message by mapping the letters from the cipher to the grid , so for every two letters, it maps to a letter in the grid (by column then row)  </p>
  
  <pre><code>EE,DC,FC,AC,BD,AB,CD,FD
  
      A    B    C    D    E    F
  A ['O', '9', 'L', 'K', '4', 'N']
  B ['H', 'V', 'U', 'B', 'P', 'X']
  C ['D', 'W', '3', 'E', '6', 'A']
  D ['5', 'T', 'I', '8', 'J', 'S']
  E ['Z', 'M', 'C', 'Q', 'R', '7']
  F ['1', 'Y', 'G', '2', '0', 'F']
  </code></pre>
  
  <p>in this case the message is 'readthis'(EE=r,DC=e, etc...)
  from here this message needs to be put into a string list where i can then print it on the IDE console</p>
  
  <p>first i made a randomised 6x6 matrix </p>
  
  <pre><code>gridlayout= []
  list1 = list(string.ascii_uppercase + string.digits)
  for i in range(6):
      grid2=[]
      for j in range(6):
          thing = random.choice(list1)
          grid2.append(thing)
          list1.remove(thing)
       gridlayout.append(grid2)
      list2=list(messagetoencode)
      print("  A    B    C    D    E    F")
      for i in  gridlayout:
         print(i)
  </code></pre>
  
  <p>my code so far...</p>
  
  <pre><code>for char in decode:
      for row in range(0,6,1):
          for column in range(0,6,1):
              if(gridLayout[row][column] == char):
                  finaltext+=char[row][column]
  </code></pre>
  
  <p>im not sure if this is on the right lines or not</p>