Revert "Revert "Алгоритм Дейкстры""

This reverts commit 7ed4fd8fb74d41e418833b313b2738b4a41c9e50.