input: Write a python function to evaluate and compare the performance of two different heuristics algorithms.
  assert compare_algorithms(heuristics_algorithm1.run, heuristics_algorithm2.run, data1, data2) in ["Algorithm 1 is faster than algorithm 2", "Algorithm 2 is faster than algorithm 1", "Both algorithms have the same performance time"]
  assert compare_algorithms(heuristics_algorithm1.run, heuristics_algorithm2.run, data1, data1) == "Both algorithms have the same performance time"
output: import time
  
  def compare_algorithms(alg1, alg2, data1, data2):
      start_time = time.time()
      alg1(data1)
      alg1_time = time.time() - start_time
      
      start_time = time.time()
      alg2(data2)
      alg2_time = time.time() - start_time
      
      if alg1_time < alg2_time:
          return "Algorithm 1 is faster than algorithm 2"
      elif alg2_time < alg1_time:
          return "Algorithm 2 is faster than algorithm 1"
      else:
          return "Both algorithms have the same performance time"