flowchart of extracting gold from its ore