Lectures on Dynamics of Stochastic Systems