Implementing top-down design

Display Figure 2.

A main concept of top-down design is:

Languages other than Alice provide different approaches to modularization.

Primary Alice mechanism for modularization is methods and functions.

Will write this program so that each of the methods named in Figure 2 does only one job and does it well.