anchor.diff:             divArray.push(letterArray[xAxis -1] + yAxis);
   
              //check for this white piece, then for next black piece //
  -           var lastElement = divArray[divArray.length -1];
              if ($('.col-md-1').children('div[id*='+ letterArray[xAxis-1] + yAxis+']').children('span[class*=black]').length !== 0) {
                break;
              }
  
positive.code:          divArray.forEach(enableElements);
           console.log(divArray);
         }
        // set diagonal movement for bishops //
  
        else if (pieceType.match(/glyphicon-bishop white/)) {
          $('.droppable').droppable("disable");
  
negative.code:            }
  
             xAxis += 1;
             yAxis += 1;
             
             if ($('.col-md-1').children('div[id*=' + letterArray[xAxis-1] + yAxis+']').children('span[class*=black]').length !== 0) {
               break;
             }
  