ticonderoga was immense , a virtual city within itself , with the military equivalents of various stores , pharmacies , restaurants ( mess halls ) , gymnasiums , offices , and rooms-single , double , and dormitory-style .