1d elastic collisions simulation | ScratchStats