solution to First Missing Positive