Section 16. Whoever violates any provision of this chapter or any rule or regulation made hereunder by the commissioner shall be punished by a fine of not more than one thousand dollars or by imprisonment for not more than one year, or both.