The robot is located at a distance of two cells from the entrance to the tunnel. The tunnel contains corridors of unknown length and 1 tile wide. These tunnels are filled with valuable specimens that the robot must bring to the base. In addition, the robot must mark the cells in front of the entrance to the corridor, thereby making it clear that this corridor has been explored.
Write a program that will move Silver to the base.