Update SuffixArray.cpp

count palinerome substrings