This is the implementation for suffix tree using Ukkonen’s algorithm