Implement strstr function.