i got a homework where i have to make a maze solver without recursions by marking the dead ends with an X, i have to check a boolean[y][x][direction] maze(coord
boolean[y][x][direction] maze