Added Different versions of LCS