An implementation of suffix array, suffix tree, and suffix cactus.