PARTICLE METHOD FOR THE SOLUTION OF STOCHASTIC PROBLEMS: FORMULATION