Working on minhash implementation