add minhash method to calculate similarity