Replicator with thermodynamics/reversible bonds