public ArrayList<Box> getNeighbors(Box box)
    {
    	int row = box.row;
    	int col = box.col;
    	ArrayList<Box> boxes = new ArrayList<Box>();
    	if(row!=0)
    	{
    		if(board[row-1][col] instanceof Box)
    		{
    			boxes.add((Box)board[row-1][col]);
    		}
    	}
    	if(col!=0)
    	{
    		if(board[row][col-1] instanceof Box)
    		{
    			boxes.add((Box)board[row][col-1]);
    		}
    	}
    	if(row!=9)
    	{
    		if(board[row+1][col] instanceof Box)
    		{
    			boxes.add((Box)board[row+1][col]);
    			
    		}
    	}
    	if(col!=9)
    	{
    		if(board[row][col+1] instanceof Box)
    		{
    			boxes.add((Box)board[row][col+1]);
    		}
    	}
    	return boxes;
    }