def make_change(amount, denominations, index=0):
    """
    Write a function that, given:
    1. an amount of money
    2. a list of coin denominations
    computes the number of ways to make the amount of money
    with coins of the available denominations.

    >>> make_change(amount=4, denominations=[1,2,3])
    4
    [1,1,1,1]
    [1,1,2]
    [1,3]
    [2,2]

    >>> make_change(amount=20, denominations=[5, 10])
    3
    [5,5,5,5]
    [5,5,10]
    [10,10]

    """
