Figure 3: Flowchart diagram of design.