mining for gold using electrolysis