Simulation of non-classical diffusion in polymers