flow chart for gold mining