Update GetAllSubStrings.cpp