Revert "Revert "Функция обхода 6.2""

This reverts commit 68dc8a811808902e4a276d85567db6d2deec0831.