N-Body Gravitational Problem