Added method for finding unique elements in a list.