GROBNER BASES IN RING THEORY