implemented jaccard mean similarity and his test