A bad solution to Remove Duplicates from Sorted List, Time Limit Exceeded. It needs great improvement!