Section 13B. A town of not exceeding three thousand inhabitants which accepts this section by vote in town meeting may appropriate for free residence quarters for a school physician a sum not exceeding five hundred dollars.