Section 1. Whoever wilfully and maliciously sets fire to, burns, or causes to be burned, or whoever aids, counsels or procures the burning of, a dwelling house, or a building adjoining or adjacent to a dwelling house, or a building by the burning whereof a dwelling house is burned, whether such dwelling house or other building is the property of himself or another and whether the same is occupied or unoccupied, shall be punished by imprisonment in the state prison for not more than twenty years, or by imprisonment in a jail or house of correction for not more than two and one half years, or by a fine of not more than ten thousand dollars, or by both such fine and imprisonment. The words ''dwelling house'', as used in this section, shall mean and include all buildings used as dwellings such as apartment houses, tenement houses, hotels, boarding houses, dormitories, hospitals, institutions, sanatoria, or other buildings where persons are domiciled.