Separated wall list creation functionality from the randomBG script.