update solution for leetcode Implement strStr