Combination Sum in java