Return the index of the first occurrence of needle in haystack, or -1 if it is not present. Two approaches — slide a window, or use KMP to skip redundant work.
-1