flow diagram for ore production