Molecular dynamics simulation of a carbon cluster ion impacting on a carbon surface