how to extract a mineral ore flowchart