The loop for finding differences had issues of float being iterated. Has been fixed.
Partition a set into two subsets such that the difference of subset sums is minimum