Find Distinct Elements In An Array