This script reads a polymer structure and then changes the names of the repeat units.
A user has to provide initial file with a polymer structure, set by variable docstart in the script.
A user has to provide a base name for repeat units (eth in the provided example).
In the presented example the repeat units will be assigned the names eth0, eth1, eth2,...,ethn.