input: Write a function to evaluate and compare the performance of two different heuristics algorithms. The function should take two algorithm functions and their corresponding input data as arguments, and return which algorithm is faster. If both algorithms have the same performance time, it should indicate that as well.
  assert compare_heuristics(heuristics_algorithm1.run, heuristics_algorithm2.run, data1, data2)=="Algorithm 1 is faster than algorithm 2"
  assert compare_heuristics(heuristics_algorithm2.run, heuristics_algorithm1.run, data2, data1)=="Algorithm 2 is faster than algorithm 1"
  assert compare_heuristics(heuristics_algorithm1.run, heuristics_algorithm1.run, data1, data1)=="Both algorithms have the same performance time"
output: def compare_heuristics(algo1, algo2, data1, data2):
      import time
      start_time1 = time.time()
      algo1(data1)
      time1 = time.time() - start_time1
      
      start_time2 = time.time()
      algo2(data2)
      time2 = time.time() - start_time2
      
      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"