Using Depth First Search, this AI solves the maze and outputs the resultant image with the silution path highlighted.
GUI version is here. Enter the maze in the input box and get a visual comparision of DFS and BFS like this
The red blocks show the path AI travelled, yellow blocks show the answer path.