maze generation and solution algorithm (complete)

press generate button to generate a random maze.

press solve button to solve the maze.

enter number of columns/rows to the input box. The value must be between 5 and 100 (both inclusive).

the generation algorithm is randomized depth first search.

the solution algorithm is breadth first search.