Dynamic Memory: example 1

This is the animation of example 1. Click the "next step" button to run the animation.