function of coal mining mill for automatic brick plant