A program to compute similarity of two documents