code: def InitMapping(self, values):
          
          for value, prob in values.iteritems():
              self.Set(value, prob)
docs: Initializes with a map from value to probability.
  
          values: map from value to probability