Generalized suffix tree

Use existing implementation for single string as a base for generalized
suffix tree.