Monte Carlo simulation of a growing polymer chain