Symplectic maps for the n-body problem