Reworked validWallLocation, also reworked generate. validWallLocation looks nicer and should be more optimized.
Now validWallLocation works.