the walls had to be hundreds of feet high and formed a perfect square around them , each side split in the exact middle by an opening as tall as the walls themselves that , from what thomas could see , led to passages and long corridors beyond .