Title: GRAVITATIONAL N-BODY SIMULATIONS: TOOLS AND ALGORITHMS