Perl implementation of the major algorithms to calculate a set similarity.