flowchart for extraction of gold