get unique values in list of lists in python,print(list(set(chain(*array))))