flow chart about primary secondary and tertiary of mining