import maze.Cell;
import maze.Maze;
import viewer.MazeViewer;

import java.util.List;

/**
 * Created by nick on 8/23/15.
 */
public class Main {

    public static void main(String[] args){
        Maze maze = new Maze(20, 20);
        maze.generate();
        MazeViewer viewer = new MazeViewer(maze, 20);
        List<Cell> solution = maze.solve();
    }
}

@@ -259,95 +259,95 @@
     
-MazeViewer viewer = new MazeViewer(maze, 20);%0A        List%3CCell%3E solution = maze.solve(
+List%3CCell%3E solution = maze.solve();%0A        MazeViewer viewer = new MazeViewer(maze, 20
 );%0A 

Solve before displaying maze