Langevin Simulations of Nonequilibrium Phenomena