Direction-Optimizing Breadth-First Search ๐Ÿ“œ