Computer simulations of many-body systems