Dissipative Particle Dynamics: A Method to Simulate Soft Matter Systems in Equilibrium and Under Flow