process of gold mining primary secondary and tertiary