the process of mining gold and extracting