Fuzzy algorithm for decision making in mining engineering