Stochastic processes with applications