Insert a new key-val or add val to the existing key.
key (tuple or list) – key for the poly, a tuple or list (will be converted to tuple).
val (Fraction) – corresponding value.