Suffix tree realisation