input: Write a function to evaluate and compare the performance of two different heuristic algorithms by measuring their execution time. The function should take two heuristic algorithms and their respective input data as arguments. It should print which algorithm is faster or if they have the same performance time.
  import time
  import heuristics_algorithm1
  import heuristics_algorithm2
  
  def compare_heuristic_performance(algorithm1, algorithm2, data1, data2):
      start = time.time()
      result1 = algorithm1.run(data1)
      end = time.time()
      time1 = end - start
  
      start = time.time()
      result2 = algorithm2.run(data2)
      end = time.time()
      time2 = end - start
  
      if time1 < time2:
          print("Algorithm 1 is faster than algorithm 2")
      elif time2 < time1:
          print("Algorithm 2 is faster than algorithm 1")
      else:
          print("Both algorithms have the same performance time")
          
  assert compare_heuristic_performance(heuristics_algorithm1, heuristics_algorithm2, ..., ...) outputs "Algorithm 1 is faster than algorithm 2"
  assert compare_heuristic_performance(heuristics_algorithm1, heuristics_algorithm2, ..., ...) outputs "Algorithm 2 is faster than algorithm 1"
  assert compare_heuristic_performance(heuristics_algorithm1, heuristics_algorithm2, ..., ...) outputs "Both algorithms have the same performance time"
output: def compare_heuristic_performance(algorithm1, algorithm2, data1, data2):
      start = time.time()
      result1 = algorithm1.run(data1)
      end = time.time()
      time1 = end - start
  
      start = time.time()
      result2 = algorithm2.run(data2)
      end = time.time()
      time2 = end - start
  
      if time1 < time2:
          print("Algorithm 1 is faster than algorithm 2")
      elif time2 < time1:
          print("Algorithm 2 is faster than algorithm 1")
      else:
          print("Both algorithms have the same performance time")