Accretional evolution of a planetesimal swarm: 1. A new simulation