Added code to generate all possible ways to make change for a given amount