I don't have a clue about this task

First of all I study ruby about 3 days now.And I has been asked to solve
a problem.I would like to hear any kind of tips to begin with.What
should i notice?

Tom Svensson wrote in post #1178650:

First of all I study ruby about 3 days now.And I has been asked to solve
a problem.I would like to hear any kind of tips to begin with.What
should i notice?Let’s see the problem:

You are given a Maze in matrix (2 dimensions)
representation. You can assume

Maze:

http://rubyquiz.com/quiz31.html

Algorithmes, graphs,AI in ruby: