The ABACUS cosmological N-body code