code: def afw_completion(afw):
      
  
      for state in afw['states']:
          for a in afw['alphabet']:
              if (state, a) not in afw['transitions']:
                  afw['transitions'][state, a] = 'False'
      return afw
docs: Side effect on input! Complete the afw adding not
      present transitions and marking them as False.
  
      :param dict afw: input AFW.