ELI5: How The Library of Babel works. ... The concept of the library is that the rooms are hexagonally shaped, so they have 6 walls with 4 shelves and 2 doorways that connect to 2 more rooms and it starts forming a pattern for all the space in the entire library.