This algorithm will solve any maze you can come up with!
Start by drawing a maze. Click on a cell to toggle between 'black' which represents a solid wall and 'white' which represents an open path. Edge cells will also toggle between 'green' and 'red' which represent a start and end location for the maze. Use the 'Add Column' and 'Add Row' buttons to increase the size of the maze. Once you are happy with the maze, click 'Use Maze' to initialize the algorithm to solve your maze. Finally, click 'Run' and watch the algorithm solve the maze all by itself!
Source code available here: https://github.com/coreyshuman/Maze-Solver