Figure 1: Flow chart of the complete work.