flow chart to illustrate the refining process of an ore