Its defensive side was turned towards the inside of the enclosure and on each of its four levels , it had one hexagonal and one rectangular room . Its defensive side was turned towards the inside of the enclosure and on each of its four levels it had one rectangular and one hexagonal room .