Numerical Solution of the Polymer System by Front Tracking