So I am trying to build a random map generator and in writing the function seems to work but the first column where I want to be walls starts showing undefined and random ge