O(log n). Insert with a function for combining the new value and old value.
insertWith f key value mp
will insert the pair (key, value) into mp if the key does not exist
in the map. If the key does exist, the function will insert the pair
(key, f new_value old_value)