Hello. It's late and maybe I'm a little bit slow but somehow can't think of how to do the following:

for example in a text file in two-dimensional Cartesian coordinate system presents a simple maze in the form of units (walls), zeros(rooms) and f (finish).So deuce is located at coordinate (4,5)

1,1,1,2,1,1

1,0,0,0,0,1

1,0,1,1,0,1

1,0,0,1,0,1

1,1,1,1,1,1

How to convert this set of numbers in a two-dimensional array so that each value of the array had the key in the Cartesian coordinate system? Ie to deuce was in array[4][5]