1.3.2 Algorithm diagram

The following is the flow chart.