all_unique function

Check if all the elements in a vector are unique