Remove Duplicates from Sorted List - Leetcode 83 - Python