Start implementing LCS algo, fix integer comparison