private static boolean squeeze()
			 {
				 if( ! firstgrid)
				 {
					 if(maze[curr_row][curr_col-1] ==-1 && maze[curr_row][curr_col+1] ==-1) // check left right <0 shows only 1 slot
					 {
						 maze[curr_row][curr_col] = -3;
						 return false;
						 
					 }
					 else if (maze[curr_row-1][curr_col]==-1 && maze[curr_row+1][curr_col]==-1)	//check up down <0 shows only 1 slot 
					 {
						 maze[curr_row][curr_col] = -3;
						 return false;
					 }
					 
					 //
					 
					/* else if (maze[curr_row - 1][curr_col+ 1]==-1 && maze[curr_row+ 1][curr_col -1]==-1)		// check diagonal< 0 (/) shows only 1 slot
					 {
						 maze[curr_row][curr_col] = -3;
						 return false;
					 }
					 else if (maze[curr_row-1][curr_col-1]==-1 && maze[curr_row +1][curr_col+1] ==-1)// check diagonal< 0 (\) shows only 1 slot
					 {
						 maze[curr_row][curr_col] = -3;
						 return false;
					 }*/
				 }
				 return true;
			 }