implemented and added new list algorithm

- remove duplicates