the residence hall turned out to be three storeys of maze-like hallways connecting suites of private rooms for the magical researchers as well as group quarters for a special detachment of guardsmen assigned to security duty .