Version 1.2 2024.04.17
The code has been refactored.
Version 1.1 2024.02.17
Added the function of filtering subsequent arrows in one direction.