Create a function in Python that takes 2 lists and returns their intersection.
list1 = [1, 4 , 6, 10]
list2 = [2, 10, 8, 6]
def intersection(list1, list2): 
    intersection_elements = set(list1) & set(list2) 
    return list(intersection_elements)

intersection_list = intersection(list1, list2)
print(intersection_list)