func_code: def union(a, b):
      un = {}
      i = 0
      while i < len(a):
          un[a[i]] = True
          i = i + 1
      h = 0
      while i < len(b):
          if not b[h] in un:
              un[b[h]] = True
          h = h + 1
      return un