how does a coal washing plant work