input: Write a function to evaluate and compare the performance of two different heuristics algorithms. The function should take two input datasets and return a string indicating which algorithm was faster. If both algorithms have the same performance time, it should return a string indicating that they have the same performance time.
  import time
  import heuristics_algorithm1
  import heuristics_algorithm2
  
  def compare_heuristics_performance(data1, data2):
      start = time.time()
      result1 = heuristics_algorithm1.run(data1)
      end = time.time()
      time1 = end - start
  
      start = time.time()
      result2 = heuristics_algorithm2.run(data2)
      end = time.time()
      time2 = end - start
  
      if time1 < time2:
          return "Algorithm 1 is faster than Algorithm 2"
      elif time2 < time1:
          return "Algorithm 2 is faster than Algorithm 1"
      else:
          return "Both algorithms have the same performance time"
  
  assert compare_heuristics_performance(data1, data2) == "Algorithm 1 is faster than Algorithm 2"
  assert compare_heuristics_performance(data3, data4) == "Algorithm 2 is faster than Algorithm 1"
  assert compare_heuristics_performance(data5, data6) == "Both algorithms have the same performance time"
  assert compare_heuristics_performance(data7, data8) == "Algorithm 1 is faster than Algorithm 2"
output: 
  def compare_heuristics_performance(data1, data2):
      start = time.time()
      result1 = heuristics_algorithm1.run(data1)
      end = time.time()
      time1 = end - start
  
      start = time.time()
      result2 = heuristics_algorithm2.run(data2)
      end = time.time()
      time2 = end - start
  
      if time1 < time2:
          return "Algorithm 1 is faster than Algorithm 2"
      elif time2 < time1:
          return "Algorithm 2 is faster than Algorithm 1"
      else:
          return "Both algorithms have the same performance time"
  