Mining Robot Simulation
Company H has developed an advanced mining robot capable of extracting minerals in various countries. This time, mining will take place on a grid of size N×N. The robot's starting position is at the top-left corner of the grid, at row 1, column 1, and the goal is to reach the bottom-right corner at row N, column N.