Molecular dynamics simulation of polymer chains with excluded volume