Added SuffixArray implementation