Update C12_2_CoinsSum.java

Example whre this solution currently fails:

 S=17, values = {3, 5, 6}

The fix is to not consider previous sums that had no solution.