A grid uses 0 for empty, 1 for a fresh orange, and 2 for a rotten orange. Each minute, rot spreads horizontally and vertically. Return the minimum minutes until no fresh orange remains, or -1 if impossible.
0
1
2
-1