Added suffix tree class