PRINCE: Pathfinding - scanDirections()