implement longest common sub-sequence in rpmkit.utils