Fix for #128 - lcs() breaks when no cells are equal

See #128 .

This pull request has only a failing test at the moment -- will add more later.