No tax shall be imposed under this article: (1) Upon a permanent resident; (2) Upon a corporation or association organized and operated exclusively for religious, charitable or educational purposes, or for one or more such purposes, no part of the net earnings of which inures to the benefit of any private shareholder or individual; or (3) Upon any person exempted by law.