Four and Five Atom S-N-C and S-N-C-O Ring Systems