Adding duplicates.py

- Program that remove duplicates in array by preserving order for O(n*lgn) time