step in extracting and purifying gold