[Preethi/Agalya] Introduced 'distinct' function for list