update solution for leetcode First Missing Positive