An R package for computing the similarity of molecules