stages involved in gold extractio