input: Write a function to evaluate and compare the performance of two different heuristics algorithms by measuring the time taken for each algorithm to process a given input. If the first algorithm is faster, return "Algorithm 1 is faster than algorithm 2". If the second algorithm is faster, return "Algorithm 2 is faster than algorithm 1". If both algorithms have the same performance time, return "Both algorithms have the same performance time".
  assert compare_heuristics([...], [...]) == "Algorithm 1 is faster than algorithm 2"
  assert compare_heuristics([...], [...]) == "Algorithm 2 is faster than algorithm 1"
  assert compare_heuristics([...], [...]) == "Both algorithms have the same performance time"
output: def compare_heuristics(algorithm1, algorithm2):
      import time
      start_time = time.time()
      algorithm1()
      time1 = time.time() - start_time
      
      start_time = time.time()
      algorithm2()
      time2 = time.time() - start_time
      
      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"