Computer simulation of the motion of macromolecules with crosslinks