OESmartsLexReplace

Replaces all the instances of $varname in the SMARTS pattern smarts with the variables as defined by the mapping in bindings.