Direction-Optimizing Breadth-First Search πŸ“œ