input: Write a function to create a dictionary that maps each element of the input list to its product with itself. If the input list is empty, return an empty dictionary.
  def product_of_list(list):
      output = {}
      for element in list:
          output[element] = element * element
      return output
  
  assert product_of_list([7, 8, 5]) == {7: 49, 8: 64, 5: 25}
  assert product_of_list([]) == {}
output: def product_of_list(list):
      output = {}
      for element in list:
          output[element] = element * element
      return output