Add suffix array implementation