added some code that hopefully generates the walls...