Tag - subset sum in java program