input: Write a function to evaluate and compare the performance of two different heuristics algorithms by measuring the time they take to run on given input data. Return a message indicating which algorithm is faster or if they have the same performance time.
  assert compare_heuristics(data1, data1)== "Both algorithms have the same performance time"
  assert compare_heuristics(data1, data2)== "Algorithm 2 is faster than algorithm 1"
output: def compare_heuristics(data1, data2):
      import time
      
      start_time1 = time.time()
      # Assume algorithm 1 is implemented here
      end_time1 = time.time()
      
      start_time2 = time.time()
      # Assume algorithm 2 is implemented here
      end_time2 = time.time()
      
      time1 = end_time1 - start_time1
      time2 = end_time2 - start_time2
      
      if time1 < time2:
          return "Algorithm 1 is faster than algorithm 2"
      elif time1 > time2:
          return "Algorithm 2 is faster than algorithm 1"
      else:
          return "Both algorithms have the same performance time"