Resolves collision by choosing one of two values.
value already stored.
new value for the same key.
value to keep.