How do I create a cartesian product of a list itself with unique elements?
For example, lists = [\'a\', \'b\', \'c\'], and I want to create [[\'a\', \'
lists = [\'a\', \'b\', \'c\']
[[\'a\', \'