Rook Maze

g1 → a7

Obstacles: c1, c5, c7, d8, h8 — Shortest: 3 moves

g1 → ?