Coin change solutions Function to determine the number of ways of making change for a particular number of units using the given types of coins