flow chart of gold extraction