Find the fewest moves from S to T through a grid with walls, as breadth-first search fills it ring by ring.
This interactive visualization needs JavaScript.