public void randomMaze() {
		 int mazecounter = 9;
	        clearmap();
	         
	        for (int i = 1; i < NUM_ROWS-1; i++) {
	            for (int j = 1; j < NUM_COLS-1; j++) {
	                if ( mazecounter != 0)
	                {
	                    if( getRandomColor(i,j) == WALL )
	                    {
	                        mazecounter --;
	                    }
	                     
	                    else if  (grid[i][j].getBackground() != WALL)
	                    {
	                        grid[i][j].setBackground(UNEXPLORED);
	                    }
	                }
	                else
	                {
	                    grid[i][j].setBackground(UNEXPLORED);
	                }
	                 
	                 
	            }
	        }
	       
	        //grid[15][4].setBackground(WALL);
	        //grid[14][11].setBackground(WALL);
	        //grid[15][11].setBackground(WALL);
	        //grid[13][10].setBackground(WALL);
	        //grid[14][4].setBackground(WALL);
	        //grid[14][3].setBackground(WALL);
	        //grid[14][1].setBackground(WALL);
	        //grid[13][1].setBackground(WALL);
	        ///grid[14][2].setBackground(WALL);
	        //grid[13][4].setBackground(WALL);
	        //grid[13][8].setBackground(WALL);
	        //grid[13][7].setBackground(WALL);
	        //grid[13][6].setBackground(WALL);
	        //grid[12][8].setBackground(WALL);
	        //grid[11][8].setBackground(WALL);
	        //grid[10][8].setBackground(WALL);
	        //grid[10][7].setBackground(WALL);
	        //grid[10][6].setBackground(WALL);
//	        grid[7][20].setBackground(WALL);
	 
	        //grid[7][17].setBackground(WALL);//grid[13][16].setBackground(WALL);
	        //grid[11][16].setBackground(WALL);
	        /*grid[7][20].setBackground(WALL);
	        grid[7][19].setBackground(WALL);
	        grid[7][18].setBackground(WALL);
	        grid[7][16].setBackground(WALL);
	        grid[7][15].setBackground(WALL);*/
	        //grid[6][15].setBackground(WALL);
	        //grid[5][15].setBackground(WALL);
	        //grid[4][15].setBackground(WALL);
	        //grid[4][16].setBackground(WALL);
	        //grid[4][17].setBackground(WALL);
	        //grid[5][].setBackground(WALL);
//	        grid[11][18].setBackground(WALL);
	        //grid[11][14].setBackground(WALL);
//	       grid[1][5].setBackground(WALL);
//	        grid[15][5].setBackground(WALL);
	         
	        // Make sure starting and ending cells are visitable
	        grid[1][2].setBackground(UNEXPLORED);
	        grid[1][1].setBackground(UNEXPLORED);
	        grid[1][3].setBackground(UNEXPLORED);
	        grid[2][2].setBackground(UNEXPLORED);
	        grid[2][1].setBackground(UNEXPLORED);
	        grid[2][3].setBackground(UNEXPLORED);
	        grid[3][2].setBackground(UNEXPLORED);
	        grid[3][1].setBackground(UNEXPLORED);
	        grid[3][3].setBackground(UNEXPLORED);
	        grid[15][20].setBackground(UNEXPLORED);
	        grid[15][19].setBackground(UNEXPLORED);
	        grid[15][18].setBackground(UNEXPLORED);
	        grid[14][20].setBackground(UNEXPLORED);
	        grid[14][19].setBackground(UNEXPLORED);
	        grid[14][18].setBackground(UNEXPLORED);
	        grid[13][20].setBackground(UNEXPLORED);
	        grid[13][19].setBackground(UNEXPLORED);
	        grid[13][18].setBackground(UNEXPLORED);
	 
	         
	    }