Library provides the functions to find unique and duplicate elements in the list (https://hackage.haskell.org/package/Unique)