Implementation of various subset sum algorithms as described in:

Ellis Horowitz and Sartaj Sahni. 1974. Computing Partitions with
Applications to the Knapsack Problem. J. ACM 21, 2 (April 1974),
277-292. DOI=10.1145/321812.321823
http://doi.acm.org/10.1145/321812.321823