Recursive implementation of computing Levenshtein distance between two strings
Generating k-shingles based on some document