Partition Problem: Given a set of positive integers, check if it can be divided into two subsets with equal sum.