Subset-sum: Given a set of non-negative integers, and a value sum, determine if there is a subset of the given set with sum equal to given sum.