DISUBSTR.cpp final version
added 3 alogs