programs on finding substring of a string and complex numbers were completed