Driver Code
public static void Main ( String [ ] args ) { RatMaze rat = new RatMaze ( ) ; int [ , ] maze = { { 1 , 0 , 0 , 0 } , { 1 , 1 , 0 , 1 } , { 0 , 1 , 0 , 0 } , { 1 , 1 , 1 , 1 } } ; N = maze . GetLength ( 0 ) ; rat . solveMaze ( maze ) ; } }