Implement adevs::Bag::swap and use it in oscillator