The program should prompt for a user input. User will provide an image of a sample maze. The program will plot the maze image as a Matlab Figure. The start search the end point by moving a character in the maze. Once a wall appears, the character should take left turn. If the path is closed, it will comes back to the previous turning node and take another left turn.
In the mean time, if a user click a path on the Figure by mouse, the program should try that path.