Added a suffix array implementation of search2