Computer simulation of polymers