shindle functions.
Naive minhash implementation
Method to compute minhash signature