Adding characteristic matrix generation and computing minhashing signature for each set