input: Write a function to evaluate and compare the performance of two different heuristics algorithms. The function should take two sets of input data, run each algorithm with the respective data, measure the time taken for each run, and print which algorithm is faster based on the measured times.
  
  assert compare_heuristics(data1, data2)==print("Algorithm 1 is faster than algorithm 2")
  assert compare_heuristics(data2, data1)==print("Algorithm 2 is faster than algorithm 1")
  assert compare_heuristics(data1, data1)==print("Both algorithms have the same performance time")
  assert compare_heuristics(data2, data2)==print("Both algorithms have the same performance time")
output: import time
  
  def compare_heuristics(data1, data2):
      start_time1 = time.time()
      # Run algorithm 1 with data1
      end_time1 = time.time()
      
      start_time2 = time.time()
      # Run algorithm 2 with data2
      end_time2 = time.time()
      
      time1 = end_time1 - start_time1
      time2 = end_time2 - start_time2
      
      if time1 < time2:
          print("Algorithm 1 is faster than algorithm 2")
      elif time1 > time2:
          print("Algorithm 2 is faster than algorithm 1")
      else:
          print("Both algorithms have the same performance time")