Add function bool isEmpty(x, y): False = piece, TRUE = no pieces;