gold mining and electrolysis process