Update suffix array.cpp