input: Write a function that takes in a list and returns a dictionary with the elements as keys and the product of each element with itself as values.
  def product_of_list(lst):
      result = {}
      for element in lst:
          result[element] = element * element
      return result
  
  assert product_of_list([7, 8, 5])=={7: 49, 8: 64, 5: 25}
  assert product_of_list([1, 2, 3])=={1: 1, 2: 4, 3: 9}
  assert product_of_list([0])=={0: 0}
  assert product_of_list([])=={}
output: def product_of_list(lst):
      result = {}
      for element in lst:
          result[element] = element * element
      return result