create suffix array implementation