getPieceColor(x, y) added