public Wall[] getWalls(){
        Wall[] wallsRes = new Wall[walls.size()];
        for (int i = 0; i < walls.size(); i++){
            wallsRes[i] = walls.get(i);
        }
        return wallsRes;
    }