A Computational Model of Nanoparticle Growth