[Suffix tree] Finished Ukkonen's algorithm