Made walls and corners appear, moved functions around, defined some edge cases