Create return first open number in an array