Heterocyclic compounds containing four-membered rings with one nitrogen atom as the only ring hetero atom