Steuben County town judge resigns after not taking training