Add and test string similarity metrics

Algorithm detail:
1. find the maximum common substring of x and y
2. return the proportion of substring in shorter one of (x,y)

Might need change in the future though