StringInterleave and strStr Implementation