Introduction to Stochastic Processes with R