CUBIC IDEALS IN SEMIGROUPS