code: def align(self,inputwords, outputwords):
          
          alignment = []
          cursor = 0
          for inputword in inputwords:
              if len(outputwords) > cursor and outputwords[cursor] == inputword:
                  alignment.append(cursor)
                  cursor += 1
              elif len(outputwords) > cursor+1 and outputwords[cursor+1] == inputword:
                  alignment.append(cursor+1)
                  cursor += 2
              else:
                  alignment.append(None)
                  cursor += 1
          return alignment
docs: For each inputword, provides the index of the outputword