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