Python script to cluster MOL files by similarity