Guide to Dynamic Simulations of Rigid Bodies and Particle Systems (Simulation Foundations, Methods and Applications)