It is also the architecture of many castles , palaces , town halls , universities , and also some houses . It is also the architecture of many castles , palaces , town halls , guild halls , universities and to a less prominent extent , private dwellings .