public MazeSolver2( String inputFile, int height, int width ) {
	maze = new String[height][width];
	h=height;
	w=width;
	
	try {
	    Scanner sc = new Scanner( new File(inputFile) );

	    //System.out.println( "reading in file..." );

	    //System.out.println(h);
	    //System.out.println(w);
	    String line = sc.nextLine();
	    for (int row = 0; row < h; row++){
		line=sc.nextLine();
		String[] a=line.split("-1");
		for( int i=0; i<a.length; i++ ){
		    maze[row][i] = a[i];	
		    //System.out.println(a[i]);
		}
	    }
	    sc.close();
	    //System.out.println(this);
	}catch( Exception e ) { 
	    //System.out.println("here");
	    System.out.println( e); 
	    //System.out.println("and");
	}

	solved = false;
	
    
    }//end constructor