Figure 2
Program flow chart