n-body code for black hole simulation