And one more thing, I prefer to use `to` function ...
# exposed
t
And one more thing, I prefer to use
to
function insted of Pair constructor:
coins to items.map{}.toTypedArray()