Added a generalized suffix tree implementation