Kinetic Monte Carlo simulation of the classical nucleation process