Monte Carlo Simulation of Agglomeration and Grinding