public boolean verifyDeadEnd() {
        int deadCount = 0;
        if(this.checkerObject.getUp()==0) {
            deadCount++;
        }
        if(this.checkerObject.getLeft()==0) {
            deadCount++;
        }
        if(this.checkerObject.getDown()==0) {
            deadCount++;
        }
        if(this.checkerObject.getRight()==0) {
            deadCount++;
        }

        if(deadCount==3) {
            deadEndList.add(this.currentNode);
            return true;
        }return false;
    }