R script for Jaccard similarity
Pig script - Jaccard similarity