flowchart of a coal mine