returns -1 searching into empty haystack