Some suffix tree implementation.