There is a method that finds indices of subString occurrences in inStream (actually it\'s a file)
public static ArrayList searchSubStrings(InputSt