private boolean canStillWalk(int x, int y){
        map[y][x].setWalkable (false);
        boolean result = false;
        if (pf1.generatePath() != null){
            if (pf2.generatePath() != null){
                if (pf3.generatePath() != null){
                    result = true;
                }
            }
        }
        map[y][x].setWalkable (true);
        return result;
    }