def Mult(self, x, factor):
        """Scales the freq/prob associated with the value x.

        Args:
            x: number value
            factor: how much to multiply by
        """
        self.d[x] = self.d.get(x, 0) * factor
Scales the freq/prob associated with the value x.

        Args:
            x: number value
            factor: how much to multiply by