Let\'s say I have a maze in a bidimensional array where I can only step on fields filled with 1, for example:
1 1 1 1 1 1 1 1 1 1 1 1