private int ways(int currentVal, int add, int goal) {
		if(currentVal == goal) {
			return 1;
		} else if(currentVal > goal) {
			return 0;
		} else {
			int sum = 0;
			for(Integer m : money) {
				if(m >= add)
					sum += ways(currentVal + m, m, goal);
			}
			return sum;
		}
	}