TRACE: a code for Time-Reversible Astrophysical Close Encounters | Synapse