Explanation of the code inside (for a more thorough explanation, search up "breadth first search"). See inside and edit the "input" list to input. (I entered an example input). Input instructions: -For the coordinates, left is rows, right is columns -For the matrix (map) size, make sure both the rows and columns are less than 10 The input order is: -Matrix (map) size -Matrix (map) layout -Start coordinates -End coordinates
this took me so long to debug