Finding the number of ways with which we can form 'n' amount of money using C[] coins