Coded a class that creates walls for a "n x n" maze and solves the maze.