There are no two castles or no two prisons alike. They are all designed to take full advantage of terrain. That said, I have seen some buildings that used essentially the same blueprints that were eerily alike. My old township built two high schools off the same blueprints. It was freaky to go from one to another. Military buildings tend to be different, to make it harder to train to "capture" buildings.