Implement `lcs(a, b)` returning the length of the longest common subsequence of strings `a` and `b`.
Run your code to see results.