Missing Ranges Leetcode Python