Semigroup Algebras That Are Principal Ideal Rings