Replace side_effects with do in sandbox

The `side_effects` routine is just `do` with a `map`.  Lets factor it out.

    side_effects(f, seq) is map(do(f), seq)

or

    side_effects(f) is map(do(f))