I commented back on your
aWallArray.add(wall); //this changes the local aWallArray not the global wallArray
comment.