Smallest Missing Positive Integer Leetcode Python