fix: add lcs algorithm for string matching
add: test cases for ApproxMatch.py