Section 2. Whoever wilfully and maliciously sets fire to, burns, or causes to be burned, or whoever aids, counsels or procures the burning of, a meeting house, church, court house, town house, college, academy, jail or other building which has been erected for public use, or a banking house, warehouse, store, manufactory, mill, barn, stable, shop, outhouse or other building, or an office building, lumber yard, ship, vessel, street car or railway car, or a bridge, lock, dam, flume, tank, or any building or structure or contents thereof, not included or described in the preceding section, whether the same is the property of himself or of another and whether occupied, unoccupied or vacant, shall be punished by imprisonment in the state prison for not more than ten years, or by imprisonment in a jail or house of correction for not more than two and one half years.