input: Write a python function to compare two lists and return their intersection, elements only in the first list, and elements only in the second list.
  assert compare_lists([1, 2, 3], [2, 3, 4]) == ({2, 3}, {1}, {4})
  assert compare_lists([1, 5, 7], [2, 3, 7]) == ({7}, {1, 5}, {2, 3})
  assert compare_lists([10, 20, 30], [40, 50, 60]) == (set(), {10, 20, 30}, {40, 50, 60})
output: def compare_lists(list1, list2):
      set1 = set(list1)
      set2 = set(list2)
      
      intersection = set1 & set2
      only_in_list1 = set1 - set2
      only_in_list2 = set2 - set1
      
      return intersection, only_in_list1, only_in_list2