Remove Duplicates Leetcode Python Beginner Problems