Implement strStr()

implement strstr in java with O(n)