anchor.diff:      if(this.outOfBounds(x+1,y) == false && grid.getElement(x, y) >= grid.getElement(x+1, y)) //derecha
       {
         grid.setElement(x, y, max);
  -      auxList = this.maxDecrecimientosList(grid,x+1,y);
  +      auxList = this.maxDecrecimientosList(grid,x+1,y,false);
         count.add(auxList[0]+1);
         addedcount.add(auxList[1]+aux);
         grid.setElement(x, y, aux);
  
positive.code:           count++;
          }
        }
        aux = this.maxDecrecimientosList(moveGrid,punto[0],punto[1]);
        decrecimientos.add(aux[1]);
        moveList.add(Move.down);
        count++;
      }
      moveGrid = testGrid.clone();
      //derecha
      moveGrid.simulateMoveRight();
      if(prevMove != Move.left && moveGrid.compareGrid(testGrid) != 0)
      {
        if(limit == false)
        {
          temp = this.getMove(moveGrid, punto, true, Move.right);
          if(temp != -1)
          {
            decrecimientos.add(temp);
  
negative.code:     return -1;
    }
    
    void volverEsquina(Grid grid, bool esquinado)
    {
      if(esquinado == true)
      {
        return;
      }
      Grid moveGrid = grid.clone();
      
      //arriba
      moveGrid.simulateMoveUp();
      if(this.enEsquina(this.puntoMasGrande(moveGrid)) == true)
      {
        this.globalMove = Move.up;
        return;
      }
      moveGrid = grid.clone();
      
      //abajo
      moveGrid.simulateMoveDown();
      if(this.enEsquina(this.puntoMasGrande(moveGrid)) == true)
      {
        this.globalMove = Move.down;
        return;
      }
      moveGrid = grid.clone();
      
      //derecha
      moveGrid.simulateMoveRight();
      if(this.enEsquina(this.puntoMasGrande(moveGrid)) == true)
      {
        this.globalMove = Move.right;
        return;
      }
      moveGrid = grid.clone();
  
      //izquierda
      moveGrid.simulateMoveLeft();
      if(this.enEsquina(this.puntoMasGrande(moveGrid)) == true)
      {
        this.globalMove = Move.left;
        return;
      }
    }
    
    /*
  