reduced memory requirement for longest common subsequence solver by generating each suffix only directly before adding it to the tree.
attempt at shortest uncommon subsequence. not correct.