Create a function to find nil in an array of numbers. The return value should be the index where nil is found. If nil is not found in the array, return -1.
find_nil([1, 2, nil]) ➞ 2
find_nil([nil, 1, 2, 3, 4]) ➞ 0
find_nil([0, 1, 2, 3, 4]) ➞ -1nil will occur in the input array only once.