title: Maze Solving using graph
body: <p>Hey i was in a local programming competition and they asked me this question which i could not do so please help me on this one.</p>
  
  <p>Write a program that loads from a file the size of a maze and then the maze itself.
  To model the maze we use the character "S" that specifies the start cell, "." that specifies free cell, "#" is a wall and "F" is the final cell.
  Write a program that will find a path from the start cell to the final cell. 
  You can think that in the maze there is a robot that obeys commands, so for the following maze the robot should receive the following commands: up, up, right, right, down, down. </p>
  
  <p>maze 1 text file</p>
  
  <pre><code>5 5
  #####
  #...#
  #.#.#
  #S#T#
  #####
  </code></pre>
  
  <p>maze 2 text file </p>
  
  <pre><code>4 5
  #.#.#
  #.#.#
  #S#T#
  #####
  </code></pre>
  
  <p>Write your program in general (the maze maximum input can be at most 200x200). </p>
  
  <p>Help would be much appreciated. I am just a rising sophmore so if you could provide me the code then i could understand it and they do it again bymyself.</p>