Get the cost to insert a given character. The cost in the range [0, 1].
[0, 1]
the character being inserted.