modified java code in leetcode_Substring_with_Concatenation_of_All_Words.java