process of extracting gold for ore