Computer simulation study of a single polymer chain in an attractive solvent