Accumulates a element into a accumulator.
This method must be associative, non-interfering, and stateless.
element
accumulator