Added randomized barriers and turned walls into barriers