Planetesimals to planets: Numerical simulation of collisional evolution