Studies in the synthesis and reactions of N-quatarnary heterocyclic compounds related to thiazo (ring C) steroid systems