completely working shortest uncommon substring function via suffix tree.