flow charts for gold mining