Substring with Concatenation of All Words

initial code