a function that takes an amount of money as input and outputs an equivalent amount of change by coin