17.3.1 Init and Draw

The methods init and draw are easy. Write them on your own. The init method must empty the container with the squares. The draw method draws all elements of the container on the screen. If you do not know how to do that, review the chapter on containers.