Cant make the maze work correctly with arrays

Printable View