Stochastic simulation of nucleation in binary alloys