Smallest Missing Positive Integer Leetcode Problems Java