how a iron mine works