Stochastic concepts in molecular simulation