string isCurcular algorithm added