Algorithm In A Flow Chart Manner