Enumeration of Unique Substructures from a Chemical Structure