Find First Missing Number Leetcode Python